package com.day08.homework.dao;

import com.day08.homework.vo.Book;

import java.util.List;

public interface IBookDao {
    public List<Book> selectBookInfoAll() throws Exception;

    public List<Book> selectBookInfoLike(String bookName) throws Exception;

    public boolean insertBookInfo(Book book) throws Exception;

    public boolean deleteBookInfo(Integer bookId) throws Exception;

    public boolean updateBookInfo(Integer bookId, Book book) throws Exception;

    public List<Book> selectBookInfoOne(Integer bookId) throws Exception;
}
